libxc: add assertion to avoid setting same bit more than once
authorWei Liu <wei.liu2@citrix.com>
Sun, 6 Sep 2015 20:05:39 +0000 (21:05 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Mon, 7 Sep 2015 10:54:30 +0000 (11:54 +0100)
commita7b39c8bd6cba3fe1c8012987b9e28bdbac7e92d
treebf6b7a503809ef4ebd4d5e30a996872ae9f529f5
parente8e9f830dc46ea2bad6919af1fdffc136dfb3aeb
libxc: add assertion to avoid setting same bit more than once

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
tools/libxc/xc_sr_restore.c